package com.zenith.api.po.vo.edu;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Schema(name = "EduWarningRuleVO", description = "预警规则VO")
public class EduWarningRuleVO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "课程ID")
    private Long courseId;
    
    @Schema(description = "规则名称")
    private String ruleName;
    
    @Schema(description = "阈值百分比")
    private BigDecimal thresholdPct;
    
    @Schema(description = "预警类型：1-低进度 2-低成绩 3-缺签到")
    private Integer warningType;
    
    @Schema(description = "状态：1-启用 2-禁用")
    private Integer status;
    
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
    
    @Schema(description = "创建人ID")
    private Long createBy;
    
    @Schema(description = "更新人ID")
    private Long updateBy;
}